<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" title="批量设置分组" width="50vw" :visible.sync="editVisible"
    :before-close="hideBox" append-to-body @opened="opened">
    <div class="main" v-loading="loading">
        <el-form>
            <LayoutCell>
                <el-form-item label="请选择分组" v-if="index == 2">
                    <el-cascader style="width:100%" v-model="form.groupsIdLst" :options="groups"
                        :props="{ multiple: true }" :show-all-levels="false">
                    </el-cascader>
                </el-form-item>
                <el-form-item label="修改方式">
                    <el-radio-group v-model="op_type">
                        <el-radio :label="0">新增</el-radio>
                        <el-radio :label="1">替换</el-radio>
                    </el-radio-group>
                </el-form-item>
            </LayoutCell>
        </el-form>

    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="12">
                <el-button @click="onCancel()">取 消</el-button>
                <el-button type="primary" @click="submit()">确定</el-button>
            </el-col>
        </el-row>
    </div>


</el-dialog>